package com.knife.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

import org.hibernate.validator.constraints.NotBlank;


/**
 * @program: sany-heavy-energy
 * @description: 增量库存下发 PO
 * @author: yong.liu
 * @create: 2020-04-26
 **/
public class Z_DOMG {


    /**
     * 工厂编号
     */
    @NotBlank(message = "工厂编号不能为空")

    @JSONField(name = "WERKS")
    private String WERKS;

    /**
     * 工厂描述
     */

    @JSONField(name = "NAME1")
    private String NAME1;

    /**
     * 库位地点
     */
    @NotBlank(message = "库位地点不能为空")

    @JSONField(name = "LGORT")
    private String LGORT;

    /**
     * 库位地点描述
     */
    @NotBlank(message = "库位地点描述不能为空")

    @JSONField(name = "LGOBE")
    private String LGOBE;

    /**
     * 物料编号
     */
    @NotBlank(message = "物料编号不能为空")

    @JSONField(name = "MATNR")
    private String MATNR;

    /**
     * 物料描述
     */
    @NotBlank(message = "物料描述不能为空")

    @JSONField(name = "MAKTX")
    private String MAKTX;

    @NotBlank(message = "增量数量不能为空,增量数量不能低于0,当311时，可以为负，且其形式为1.00-")

    @JSONField(name = "LABST")
    private String LABST;

    /**
     * 基本计量单位
     */

    @NotBlank(message = "基本计量单位不能为空")
    @JSONField(name = "MEINS")
    private String MEINS;

    /**
     * 特殊库存标识
     */

    @JSONField(name = "SOBKZ")
    private String SOBKZ;

    /**
     * 生产订单号
     */

    @JSONField(name = "AUFNR")
    private String AUFNR;

    /**
     * 序列号
     */

    @JSONField(name = "GERNR")
    private String GERNR;

    /**
     * 物料凭证
     */

    @NotBlank(message = "物料凭证不能为空")
    @JSONField(name = "MBLNR")
    private String MBLNR;

    /**
     * 移动类型
     */

    @NotBlank(message = "移动类型不能为空")
    @JSONField(name = "BWART")
    private String BWART;

    /**
     * 过账日期
     */

    @NotBlank(message = "过账日期不能为空")
    @JSONField(name = "BUDAT")
    private String BUDAT;

    /**
     * 预留字段1
     */

    @JSONField(name = "FIELD1")
    private String FIELD1;

    /**
     * 预留字段2
     */
    @JSONField(name = "FIELD2")
    private String FIELD2;

    @JsonProperty("WERKS")
    public String getWERKS() {
        return WERKS;
    }

    public void setWERKS(String WERKS) {
        this.WERKS = WERKS;
    }

    @JsonProperty("NAME1")
    public String getNAME1() {
        return NAME1;
    }

    public void setNAME1(String NAME1) {
        this.NAME1 = NAME1;
    }

    @JsonProperty("MATNR")
    public String getMATNR() {
        return MATNR;
    }

    public void setMATNR(String MATNR) {
        this.MATNR = MATNR;
    }

    @JsonProperty("MAKTX")
    public String getMAKTX() {
        return MAKTX;
    }

    public void setMAKTX(String MAKTX) {
        this.MAKTX = MAKTX;
    }

    @JsonProperty("LGORT")
    public String getLGORT() {
        return LGORT;
    }

    public void setLGORT(String LGORT) {
        this.LGORT = LGORT;
    }

    @JsonProperty("LGOBE")
    public String getLGOBE() {
        return LGOBE;
    }

    public void setLGOBE(String LGOBE) {
        this.LGOBE = LGOBE;
    }

    @JsonProperty("LABST")
    public String getLABST() {
        return LABST;
    }

    public void setLABST(String LABST) {
        this.LABST = LABST;
    }

    @JsonProperty("MEINS")
    public String getMEINS() {
        return MEINS;
    }

    public void setMEINS(String MEINS) {
        this.MEINS = MEINS;
    }

    @JsonProperty("FIELD1")
    public String getFIELD1() {
        return FIELD1;
    }

    public void setFIELD1(String FIELD1) {
        this.FIELD1 = FIELD1;
    }

    @JsonProperty("FIELD2")
    public String getFIELD2() {
        return FIELD2;
    }

    public void setFIELD2(String FIELD2) {
        this.FIELD2 = FIELD2;
    }

    @JsonProperty("SOBKZ")
    public String getSOBKZ() {
        return SOBKZ;
    }

    public void setSOBKZ(String SOBKZ) {
        this.SOBKZ = SOBKZ;
    }

    @JsonProperty("AUFNR")
    public String getAUFNR() {
        return AUFNR;
    }

    public void setAUFNR(String AUFNR) {
        this.AUFNR = AUFNR;
    }

    @JsonProperty("GERNR")
    public String getGERNR() {
        return GERNR;
    }

    public void setGERNR(String GERNR) {
        this.GERNR = GERNR;
    }

    @JsonProperty("MBLNR")
    public String getMBLNR() {
        return MBLNR;
    }

    public void setMBLNR(String MBLNR) {
        this.MBLNR = MBLNR;
    }

    @JsonProperty("BWART")
    public String getBWART() {
        return BWART;
    }

    public void setBWART(String BWART) {
        this.BWART = BWART;
    }

    @JsonProperty("BUDAT")
    public String getBUDAT() {
        return BUDAT;
    }

    public void setBUDAT(String BUDAT) {
        this.BUDAT = BUDAT;
    }

    @Override
    public String toString() {
        return "Z_DOMG{" +
                "WERKS='" + WERKS + '\'' +
                ", NAME1='" + NAME1 + '\'' +
                ", LGORT='" + LGORT + '\'' +
                ", LGOBE='" + LGOBE + '\'' +
                ", MATNR='" + MATNR + '\'' +
                ", MAKTX='" + MAKTX + '\'' +
                ", LABST='" + LABST + '\'' +
                ", MEINS='" + MEINS + '\'' +
                ", SOBKZ='" + SOBKZ + '\'' +
                ", AUFNR='" + AUFNR + '\'' +
                ", GERNR='" + GERNR + '\'' +
                ", MBLNR='" + MBLNR + '\'' +
                ", BWART='" + BWART + '\'' +
                ", BUDAT='" + BUDAT + '\'' +
                ", FIELD1='" + FIELD1 + '\'' +
                ", FIELD2='" + FIELD2 + '\'' +
                '}';
    }
}
